Skip to content

Develop#82

Open
EiJackGH wants to merge 20 commits intosentinel-input-validation-11889021400264498482from
palette-cli-validation-11137336693583088865
Open

Develop#82
EiJackGH wants to merge 20 commits intosentinel-input-validation-11889021400264498482from
palette-cli-validation-11137336693583088865

Conversation

@EiJackGH
Copy link
Owner

@EiJackGH EiJackGH commented Mar 3, 2026

No description provided.

google-labs-jules bot and others added 20 commits February 20, 2026 13:32
…and redundant header printing. Enhance the final simulation report with an ASCII box layout, adding ROI, trade counts, and strategy comparison for better UX. Update tests to reflect changes.

Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com>
…dency, and enhance CLI UX with ASCII dashboard.

- Restore `bitcoin.py` with `get_bitcoin_price` and `calculate_value` functions to resolve `ModuleNotFoundError`.
- Add `requests` to `requirements.txt`.
- Fix Flake8 linting errors in `bitcoin_trading_simulation.py`, `test_bitcoin.py`, and `test_simulation.py` (whitespace, blank lines, imports).
- Enhance `bitcoin_trading_simulation.py` final report with an ASCII box layout, ROI, and trade stats.
- Consolidate `Colors` class in `bitcoin_trading_simulation.py` and remove duplicate `argparse` import.

Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com>
…4789726884231400

🎨 Palette: Enhance CLI Report with ASCII Dashboard & Stats
- Added `countdown` function with 1-second delays.
- Countdown respects `--quiet` and `--no-color` flags.
- Countdown is only shown in interactive terminals (`sys.stdout.isatty()`).
- Fixed repository health by removing tracked `__pycache__` files.

Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com>
…-17097133948516609401

Add countdown before simulation starts
- Validate 'days', 'initial-cash', 'initial-price', and 'volatility' to ensure positive/non-negative values.
- Display user-friendly error messages in red (unless --no-color is used) and exit with code 1 on failure.
- Add 'test_cli_args.py' to verify invalid inputs and error handling.
- Improve UX by preventing simulation crashes with cryptic Python tracebacks.

Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com>
… workflow

- Add `src/main.rs` to satisfy the Cargo.toml build target.
- Add `target/` to `.gitignore` to prevent build artifacts from polluting the repo.
- Remove `.github/workflows/terraform.yml` as no Terraform configuration exists.

Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant